package com.ruoyi.agency.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 机构信息对象 agency
 * 
 * @author ruoyi
 * @date 2024-11-01
 */
public class Agency extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 机构id */
    private Long agencyId;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String agencyName;

    /** 负责人 */
    @Excel(name = "负责人")
    private String contactName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactTel;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 成立时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成立时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recordDate;

    /** 经营范围 */
    @Excel(name = "经营范围")
    private String business;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    public void setAgencyId(Long agencyId) 
    {
        this.agencyId = agencyId;
    }

    public Long getAgencyId() 
    {
        return agencyId;
    }
    public void setAgencyName(String agencyName) 
    {
        this.agencyName = agencyName;
    }

    public String getAgencyName() 
    {
        return agencyName;
    }
    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }
    public void setContactTel(String contactTel) 
    {
        this.contactTel = contactTel;
    }

    public String getContactTel() 
    {
        return contactTel;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setRecordDate(Date recordDate) 
    {
        this.recordDate = recordDate;
    }

    public Date getRecordDate() 
    {
        return recordDate;
    }
    public void setBusiness(String business) 
    {
        this.business = business;
    }

    public String getBusiness() 
    {
        return business;
    }
    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("agencyId", getAgencyId())
            .append("agencyName", getAgencyName())
            .append("contactName", getContactName())
            .append("contactTel", getContactTel())
            .append("email", getEmail())
            .append("address", getAddress())
            .append("recordDate", getRecordDate())
            .append("business", getBusiness())
            .append("notes", getNotes())
            .toString();
    }
}
